home *** CD-ROM | disk | FTP | other *** search
- /*------------------------------------------------------------------------------
- File: ScriptRunnerAgent.idl
-
- Contains: ScriptRunner Agent object interface
-
- Written by: Sue Dumont
-
- Copyright: © 1995 by Apple Computer, Inc., all rights reserved.
- ------------------------------------------------------------------------------*/
-
- #ifndef _SCRIPTRUNNERAGENT_
- #define _SCRIPTRUNNERAGENT_
-
- #ifndef _ODOBJECT_
- #include <ODObject.idl>
- #endif
-
- #ifndef _OSAPLUGINVERS_
- #include "OSAPlugInVers.h"
- #endif
-
- //==============================================================================
- // Classes defined in this interface
- //==============================================================================
-
- interface ODPart;
- interface ODDraft;
-
- //==============================================================================
-
- #pragma somemittypes on
-
- const ODISOStr kOSAScriptingTool = "Apple Computer:OSA Scripting Tool";
-
- //==============================================================================
- // ScriptRunner SOM Class
- //==============================================================================
-
- // NOTE: We are not using the "SampleCode" module name here because SOM
- // doesn't allow the same module name to be defined twice, and we can't
- // include a .xh file generated by a SOM class with the same module name
- // (ie, ScriptRunner).
-
- module Sample
- {
- interface ScriptRunnerAgent : ODObject
- {
- ODExtension AcquireScriptRunner(in ODDraft draft);
-
- #ifdef __SOMIDL__
- implementation
- {
- majorversion = somClassMajorVersion;
- minorversion = somClassMajorVersion;
-
- functionprefix = ScriptRunnerAgent__;
-
- override:
- somInit,
- somUninit;
-
- releaseorder:
- AcquireScriptRunner;
-
- #ifdef __PRIVATE__
-
- ODID fScriptRunnerID;
-
- #endif // __PRIVATE__
-
- };
-
- #endif __SOMIDL__
-
- };
- };
-
- #pragma somemittypes off
-
- #endif _SCRIPTRUNNERAGENT_
-
-